.pageFlipWrapper {
  margin: 0;
  padding: 0;
  width: 1024px;
  height: 768px;
  outline: 1px solid blue;
  margin-left: auto;
  margin-right: auto;

  position: relative;
  overflow: hidden;
}

.pageFlipWrapper .displayContainer div.page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  display: none;
}

.pageFlipWrapper .displayContainer >div:first-child,
.pageFlipWrapper .displayContainer >div:nth-last-child(2),
.pageFlipWrapper .displayContainer >div:last-child {
  display: block;
}

.pageFlipWrapper .transition {
  -webkit-transition-duration: 1s;
  -o-transition-duration: 1s;
  -moz-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  transition-property: transform;
}

.pageFlipWrapper .slideRight {
  -webkit-transform: translateX(0) !important;
  -moz-transform: translateX(0) !important;
  -o-transform: translateX(0) !important;
  -ms-transform: translateX(0) !important;
  transform: translateX(0) !important;  
}

.pageFlipWrapper .originalPagesContainer {
  display: none;
}

/* Buttons */
.pageFlipWrapper .prevBtn,.pageFlipWrapper .nextBtn {
  display: inline-block;
  padding: 5px 10px;
  background-color: green;
  border-radius: 5px;
}

.pageFlipWrapper a.disabledButton {
  background-color: gray;
}

.pageFlipWrapper .pagerContainer {
  position: absolute;
  bottom: 0;
  z-index: 50;
}